Conversation
eec8ae2 to
ae0c818
Compare
|
GNU testsuite comparison: |
4ce1311 to
7a75ddd
Compare
|
GNU testsuite comparison: |
| fn test_nice_huge() { | ||
| new_ucmd!() | ||
| .args(&[ | ||
| "-n", |
There was a problem hiding this comment.
Only positive overflow is tested. Should add a test for negative overflow (e.g., -999...9) to ensure both clamping directions work.
There was a problem hiding this comment.
Negative is root test, would not work on the CI.
...
Oh yes. It should work with permission denied.
fae9d13 to
0166306
Compare
|
GNU testsuite comparison: |
d7cd76f to
07d3f52
Compare
src/uu/nice/src/nice.rs
Outdated
There was a problem hiding this comment.
i think moving it into a function could help with readability
There was a problem hiding this comment.
Is this operation duplicated at somethere?
Merging this PR will degrade performance by 52.55%
Performance Changes
Comparing Footnotes
|
|
GNU testsuite comparison: |
27be172 to
b114e0a
Compare
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
858f4f0 to
7d3c2ad
Compare
|
GNU testsuite comparison: |
917605c to
34c2172
Compare
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
Closes #10200